package com.mySchool.entity.PO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.persistence.Column;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author sky
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CityPO {
    private Long id;

    @Column(name = "name")
    private String name;

    @Column(name = "province_id")
    private Long provinceId;

    @Schema(description = "邮政编码")
    @Column(name = "postal_code")
    private String postalCode;

    @Column(name = "gmt_create")
    private LocalDateTime gmtCrate;

    @Column(name = "gmt_modified")
    private LocalDateTime gmtModified;
}